Add mkapp.sh for OSX distribution