Move Termios struct to os specific file