Changed the problem with to_string for windows