Update to new V8 API (tested on V8 3.20.14)