[msvc] fix segmentation fault due to usage of APPLE glew api