Don't use PTY when running on Windows

- Fixes #39