Compilation fix and example projects for Visual Studio 2012
Merge pull request #1 from Mat-Loz/master

Compilation fix and example projects for Visual Studio 2012