Issue #22359: Avoid recursive $(MAKE); disable running cross-compiled pgen

Patches by Jonas Wagner and Xavier de Gaye.
4 files changed