fix build errors in windows
add JsRegExp::lastIndex