Include missing <algorithm> header for std::min
Merge pull request #23 from steinwurf/fix-vs2013

Include missing <algorithm> header for std::min