remove some unused OSX stuff