Fixed to_string problem, need c++11 support