Remove libarchive platform checks and add zlib ones