use CMAKE_DL_LIBS instead of searching for libdl

On *BSD, Solaris and probably some platforms more dl-functions are
provided by libc. So searching for libdl doesn't make any sense.
Furthermore this prevents cross-architecture builds on Debian.
Use CMAKE_DL_LIBS instead.