cpp: compat: Add path type lookups to module
Merge pull request #1436 from rleigh-dundee/cpp-module2

cpp: compat: Add path type lookups to module