Fix syntax error

Missing || causes build failure when not using GDAL or OGR