Don't let HAVE_OVERLAY depend on OpenGL.