Add <algorithm> inclusion