enable compile with CM tree