Add include line for std::accumulate.

Refs #10169
Fix boost random usage for older boost versions.

Refs #10169