Use pkg-config to find Wayland libraries in the configure script.