vtable issues on mac