Fix libdl usage

For instance, it's not needed/does not exist on FreeBSD. ${CMAKE_DL_LIBS} handles this automatically.
Merge branch 'patch-1' of git://github.com/AMDmi3/SMC into devel