handle GDAL <= 1.10 #533