Add FreeBSD support
27 files changed