Add postgresql support in gdal compilation