fix tiff static compile, download and compile xz before doing anything else