osArch detection fix