Turn on nightly testing for opengl

Required various build changes to make sure everything runs with opengl.