If wayland-scanner.pc can't be found the variables end up being set irrespectively, leaving the user with odd compiler errors about missing headers, etc.
To allow user program to include wayland-scanner.m4 in tarball, move the path variables from it into wayland-scanner.pc.