[jam] Set ARCH defs like we do for the runtime.