One of our buildbot for FreeBSD does not support std::to_string.
Use stringstream instead to convert int to string