fix the minor verson of opengl

A workaround until I can find a better way to detect the highest available opengl version.

Assume opengl 4.1 for OS X,  4.4 for linux.