More hacking for OSX.