freebsd doesn't need -ldl for compilation
Merge pull request #114 from plurye/initial_freebsd_support

[setup] freebsd doesn't need -ldl for compilation