Work around bug with unibyte Linux consoles