Fix for atof(nan) on some windows compilers.