Ensure OpenGL libraries are NOT linked during an OSMesa build.