Link to -lstdc++ on FreeBSD.

(see https://github.com/tuncer/re2/commit/79ec7193e0d20b428e886fafc70e4222a00325b8)