Check in configure if the gtk-3.0 has wayland support, and don't build the waylandsink example if it doesn't.