removed REFVAR_VM_HASH_STR_VAR, and fix MSVC build