fix cmake build