sdl: only regenerate configure when building with X11