Fix some mistakes in cakefile