Add extension and version detection to GLX loader