THRIFT-507. Stop using boost::lexical_cast in the compiler We were using boost::lexical_cast to convert an integer to a string, but using a stringstream is only slightly more complicated.