fix build when v8 is disabled (rfc 102)