Fixes X11 video backend compilation when no GL is available

For example, in our Raspberry Pi sysroot.