CMake flag changes in travis build script

GLFW shouldn't need to be built as a shared library any more