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