fixed v8-3.20+ compilation and deprecation warnings.