pkg: add distinct arch fix