vc++ still don't know std::min