fix mptree build with xcode