moved HAVE_LIBDL definition to HAVE_DLOPEN. The substitution