MSVC: fallback for snprintf