Include the <algorithm> header for std::min.

Signed-off-by: Ed Mackey
Merge pull request #255 from emackey/algorithm

Include the <algorithm> header for std::min.