fix mptree build with cmake