Add Travis OS X support

If Travis-CI is set up for the repo, you can use this script to test the build on OS X. Not sure if it can integrate with your current automated build system, but it can help prevent future compilation regressions.