include pty.h only on linux