osx-install script

thnx to kdeldycke