build_osx.sh: update script to create tarball