Fix the Wayland backend build.