Temporary hack for OSX.