osx: makebundle.sh improvements