wayland-scanner private-code
The sed -i flag is non-standard, and may not be available in all implementations. The meson build already requires wayland >= 1.14.91 and uses private-code, so just do that in the autotools build as well.