[GTK] Fix configuration without wayland support