Makefile: Added FreeBSD support.

FreeBSD uses libltdl instead of libdl. Thanks xreprimand for the info.