Resolve issue where verify_callback undefined

Found in CI server