snprintf function on MSVC