Replaced boost::lexical_cast with C++11's std::to_string