compiles with clang on osx