CPPFunction replaced

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