The <algortihm> header is evidently necessary for std::sort

for some early versions of re2.

Also get rid of an unnecessary #include "config.h".
.gitlab-ci.yml not found in this commit