From Pere:
 - More rigorous check of existance of OpenGL
 - Changed genreflex command to not require the ROOTSYS environment variable


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@49122 27541ba8-7e3a-0410-8455-c3a389f83636