OSX install script fixes.