- Fix build under freebsd.
Merge pull request #40 from stass/master

Fix build under FreeBSD