Support version 0.6.* of node.js

readline was different