some libarchive 2.5.x support