support for new libarchive version