Conditionally compile exportToGEOS() call based on GDAL version.

Fixes #10.