CPPFunction replaced

Newest Readline doesn't support CPPFunction and compilation failes.
After replacing it with rl_completion_func_t build status is back to normal.