Take ARCH into account when building runtime.