Fix Shader member variable numVariations_ being uninitialized. Closes #585.
For Travis CI - switch CI build to use OS X build environment.