perl: fix archname subst while cross building.