Convert to_string to use stringstream for integer convertion. (Linux does not implement to_string yet.)