[COMMIT] Fix snprintf problems with the Win32 build