fix #4510 (compile error with glew 1.11)
thanks Svenstaro!