add cmake to project
fix windows linker error