Fix build with GDAL 1.9.x