Added readline support for *nix REPL.