Fix compilation with MSVC 12+
Merge pull request #44 from MarcelRaad/fix-msvc

Fix compilation with MSVC 12+