cmake: Portability fixes for cmake 2.8.7
cpp: compat: Document module function
cpp: compat: Document filesystem canonical optional argument