Further fixes to make_osx_package.sh.