$mybb doesn't exist in class_captcha.php

$mybb doesn't exist in build_captcha in class_captcha.php