OSX install script

Add install script for OSX.

Fix subtle configuration at .gitignore