fix warning when compiling on MSW