correct some error.
Mac OSX using long* to get vtbl.