Fix compilation error when using gcc/libstdc++.
Fix compilation error when using gcc/libstdc++.

That is, add missing #include <algorithm>.

robertoraggi/cplusplus,robertoraggi/cplusplus,robertoraggi/cplusplus,robertoraggi/cplusplus,robertoraggi/cplusplus,robertoraggi/cplusplus