Update installation script to recognize Mac OSX systems