The Windows strtod function is buggy in that it can not parse NaN and Inf, so create a work-around. Resolves #45