Fixed failing Travis build

Fix for the failing travis build.

I got the fix from here: http://docs.travis-ci.com/user/osx-ci-environment/
Merge pull request #78 from ajimix/patch-1

Fixed failing Travis build