Fixed a few things in .osx.