Mingw doesn't like snprintf