added OSX check in install.sh