builds on OSX with clang