Adding FreeBSD support