fix for old MSVC

VC2003 doesn't support vsnprintf.