osx build hack