initial patch to support xz files and get close to compiling glib