libarchive: fix native build.