fixes osx package build script