fix ogr.input linking