support XZ-compressed archives for "source-tarball" target in build script

This is enabled only if the command-line tool "xz" is installed.