Multiple changes

- Fixed a problem in X11/GLX detection.
- Fixed a problem in GL version detection helpers.
- Fixed a problem in the cloud_trace example