Fix some missing termios stuff