fix to support android cross compile on mac
Continue using blocking writes for all ttys