cmake: add a cmake build system