Fix Linux Espruino when no tty is present