fix for public-domain/xz compiling