Use pty.js with node v0.11.x support