Fixed IDE compilation on windows.

- Syntax error in block #ifdef'd for windows
- Added new files to IDE vcxproj
Merge pull request #314 from CIB/master

Fixed IDE compilation on windows.