fix "unknown CPU architecture" error