support for libarchive 2.5