Improve warning when GDAL/OGR is not loaded properly.