fixed cmake build system