Fixed a small bug in my new version of this script.
Merge pull request #1 from richard-allen/master

Fixing the make-macosx.sh script up a bit