Use openpty() in preference to posix_openpt() Enable the xterm toolbar to be built