fixed pty.js build error on all new OSX systems

Better late than never! Fixed #17 for all users without them having to manually download/clone pty and install it.