[gtk3-ubuntu] Fix build with wayland