This fixes the c2039 error in VS2013.

Apparently VS2013 requires the header <algorithm> so that
std::min and std::max are found.

Change-Id: I49811081e2388dc4661febbd3cf8eefcee91dfc1
Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>
Merge topic 'fix_min_max_errors' into master

c81b6219 This fixes the c2039 error in VS2013.