Got this solution to compile with VS on Windows.
Merge pull request #6 from ajorians/CompilingForWindows

Got this solution to compile with VS on Windows.