fix cmakefile