build for freebsd
Merge pull request #1 from HenryHu/master

build for freebsd