Fixed install script for Mac OS X