Fixed linking issue on FreeBSD.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>