Some windows environments don't have _snprint_s

Do an alternative version for them.
That happens for example with our windows buildbot with mingw32-make.
2 files changed