fix cmake build system