Removed -ldl from library linker

-ldl flag is not needed for dynamic loading as FreeBSD's libc provides dlopen() and dlclose() for dynamic loading.