Windows build fix

Please help to check whether I am correcly fix