support older versions of the gdal bindings