configure: Generate the dlls directory lists in configure instead of make_makefiles.