Check for sys/termios.h explicitly too.