windows: fix compile error