Build dependencies for gdal