Fix the osx build