Added FreeBSD support.