Fixing build for OSX clang