Fixed issue #155 and #156 by fixing the Visual Studio compile options
Merge pull request #162 from LaurentGoderre/fix-155-156

Fixed issue #155 and #156 by fixing the Visual Studio compile options