Correct build on OSX