Fixed IDE compilation on windows.

- Syntax error in block #ifdef'd for windows
- Added new files to IDE vcxproj