cpp: compat: Add regex cmatch and smatch
cmake: Add missing include directories

For platforms which do not have the headers on the standard
search path.
wip
cpp: tiff: Add PlaneRegion and intersection function
cpp: tiff: Use PlaneRegions in IFD
fix