add freebsd's support.
Merge pull request #38 from vanillahsu/master

add freebsd's support.