fix msvc compliation for mptree