cpp: compat: Add path type lookups to module