Fix install script for OSX