Fix build for freebsd/clang - fixes #4