Fix for possible GL30+ version checking bug