Fixes to Mac OS X updater script.