Revert "Update liblzma to 5.2.2 (and switch to autotools for mingw)"
This reverts commit 7986ff99a5e90855d72d5187c594482e5bdd1be0.