Fixing install script for OSx