Update of the build system

- Added the --max-gl-version option to the configure.py script
  that allows to limit the maximum GL version to be used.