Cleaning up things for OSX