libarchive: make this cross buildable.