Fixed install script so it works on mac as well