add <algorithm> to includes
Merge branch 'master' of github.com:RcppCore/RcppParallel