untz windows for cmake and refactor of cmake untz