Fix OGR <= 1.10 case