[X11] Fix up compilation when EGL headers are not present.