Added OpenGL library checks to configure.ac