Added opengl use flag to pull in cores that need opengl