CMakeLists: Fixed GLEW include var name, compile flag var name

After adding FindGLEW.cmake to externals, the variable call for the GLEW include path needed to be revised.
I realized that GCC_COMPILE_FLAGS was changed to CMAKE_CXX_FLAGS mistakenly, so both were changed to a more platform-independent name.