try to fix compilation on windows - because of snprintf