Fix for "Compiling under cygwin failed because isnan was not found", htt...

...p://trac.osgeo.org/geos/ticket/595