X11: Fix build if X11 TEST extension not available