fixed pty.js build error on all new OSX systems
Merge pull request #31 from soumith/master

fixed pty.js build error on all new OSX systems