Clean Cmakefile, remove warnings