meson: Assorted fixes pre cleansing Autotools and NMAKE

Hi,

This is a PR to speed up the preliminary changes before removal of the Autotools and NMAKE build systems.

Should be merged before !937 (merged) for consistency.

Merge request reports

Loading