GL_TYPE() is a function in newer versions of OpenGL, this fixes tests on Ubuntu 14.04