Fix incompatibilty with recent V8 versions.