fix linux gdal shared copy