added os handling to setup.sh
Merge pull request #1 from yellobes/master

Added os handing for setup.sh