Include <algorithm> from standard c++ library

std::max()" is not found on some configurations.

See robotology/yarp#134