Fixed CMakeLists.txt to use source groups for hpmc lib.
Added functionality that let the developer cap the GL version used when
creating the constant object.