simplify determine compiler part of target archs, fix typo, fix remark