Include <algorithm>
Don't depend on undocumented Boost libraries