Made an OpenGL application compile and link.