readline null_completer function seems to require different prototype between OSX Xcode build and Linux.
wait_mgr update for OSX