Working around a bug in glewInit()