fix: compile error on windows