[msvc] fix segmentation fault due to usage of APPLE glew api
Merge branch 'msvc12'