Windows build fix

Please help to check whether I am correctly fix