Issue with sprintf in Makefile.PL on Windows.

Patch by Zeeshan, from RT#82768.
Fixes RT#67280.