Fixing opengl build