fixing sscanf issue with floats for certain locales