wayland: Add wayland checks for cmake