Fix stty commands on GNU/Linux

Fixes #29.