osx: deployment script fix