Add support for FreeBSD
Merge pull request #6 from tru/freebsd

Add support for FreeBSD