configure: dry up termios check