std::numeric_limits::max() conflicts with max() defined in windows headers. Wrap it in parenthesis to prevent macro expansion.
Change-Id: I9025bc13735c1d9fb0f0811a9c9d6ad304adc134