fix build. add cakefile