Fix error in dynamic analysis helper on Ruby 1.9.3