Use snprintf() on newer MS compilers