Move libarchive to core