TODO: These wayland ifdefs are due to mistake in build system?