[2.065] fix Windows build error