changes for osx packaging