using cmake as build system