Add FreeBSD support
Merge pull request #9 from snoir/freebsd

Add FreeBSD support