scan_vtable: handle pure virtual funcs on linux/osx