py: win: fix compilation bug for win python