Cpp: libpath and documentation improvements