fix: patch update win compile crash
fix: update for gethextm