Support building on AMD64 and the new xz compression format.