Added checks to make OSGEO package (e.g., gdal, ogr, osr) optional