refs #9320 RHEL error: Remove std::end

as it seems not available on Ubuntu and OSX