Find out if we really need libdl.

Some systems (like FreeBSD) have dlopen(3) and friends in libc and
don't need -ldl.

Removing the AC_CHECK_LIB for -ldl. Can't see the need for that, nor
the 'have_libdl' outcome.