Add brackets to tiff.h and gdal.h checks