Workaround for missing C99 functions in older versions of Visual Studio

MSVC 7 and 8 ar emissing the isfinite and snprintf functions but have equivalent non-standard version available as _foo