Fixed #115: Backport GEOS-5482
Merge pull request #116 from mbarto/geos_5482

Fixed #115: Backport GEOS-5482