cleanup for osx installation