[FIX,BUILD] cmake file lacked target_link_libraries thus missing out on -lexecinfo
[FIX,BUILD] explicitly link against pthread for FreeBSD+Clang
Merge pull request #458 from h-2/fix/build_issues_freebsd

Fix/build issues freebsd