Fixes glGenVertexArrays segfault by initializing glew properly.