Porting demo to windows.