Detect cmake version and either use provided module to finf xz or use simple cuistom module