Update Windows project
Fix some issues while compiling in Windows