add v8 compatibility patch