fix for non ansi serial baud rates on linux (e.g. solidoodle 2: 250000)