fix gdal version check