Define isnan() for C++98 compatibility
Merge pull request #109 from mkuron/osx-cpp

Define isnan() for C++98 compatibility