Fixed Min_element build issue in Visual Studio 2010