(Null gfx context driver) Prevent excess elements when HAVE_EGL is not defined