fix: header order crash on win32