Define SVR4 for Ubuntu

If not define SVR4 on Ubuntu, it will return "Out of pty's". Ubuntu has no /dev/pty*.