Configure deprecation for posix-pty