Replaced std::to_string with boost::lexical_cast<std::string>

MXE has problems with std::to_string