fixed version check so repl works in node v0.10