Define to_string for cygwin