Fix install script for OS X