cmake build fixed