Added FreeBSD build support.