Check for _MSC_VER instead of _WIN32 when deciding whether to use
inttypes.h