Android build: has no linux/serial.h.
Android build: NDK is missing tcdrain so hack add it here.