Fix missing call to std::ostringstream::str