Fix compilation on OS X (at least 10.9)

- without this patch the build fails because this symbol is not defined in
termios.h