Include <algorithm>, find VS2013 breakage.

Before this commit, buffertools didn't compile with VS2013 because
it relied on std::min() being pulled in implicitly through other
standard headers.  The fix is easy, just include <algorithm>.

Fixes #52.