fixing cmake build system