handle builds on systems without termios.h

Windows doesn't have this, so add some build time checks.
2 files changed