add missing <sstream> header to lexical_cast replacement