Fix the .osx code