Fix build with clang on FreeBSD
Merge pull request #31 from asergi/master

Fix build with clang on FreeBSD