Fix windows compiling https://github.com/chjj/pty.js/issues/38