Applied patch to add support for xz compression