Fix REPL completions on OS X
Merge pull request #349 from hcarvalhoalves/fix-osx-complete

Fix REPL completions on OS X