Added check for minimum required version of pexpect