keep forward declarations for all public structs and unions in src/types.h
fixed encoding issue in MVM_proc_getenvhash function, mostly appears in CJK windows environment.