win:compilation: fix compilation bug on win