Add ubuntu work around for TTY warning.