Event: Added include of algorithm header to fix Linux build.