bugfix: compile error on windows