Use capi for mkfifo, tcsetattr and tcgetattr (for Android)

Submitted by: Nathan Hüsken <nathan.huesken@posteo.de>