Fix for atof(nan) on some windows compilers.
Merge pull request #1 from novotl22/master

Fix for atof(nan) on some windows compilers.