Fix crash when redefine class.
Merge pull request #21 from kishikawakatsumi/redefine_class

Fix crash when redefine class.