fix zlib extraction