Added project files for Windows
Fixed warnings and errors on Windows build