Fix cygwin build which was failed due to snprintf
Fix cygwin build which was failed due to snprintf