CMake: Fix MSVC warnings.
Merge pull request #10 from BeamNG/dev_linux_opengl_fix_msvc_warnings

Dev linux opengl fix msvc warnings