Compile-fixes for the visual studio c-compiler.
Merge pull request #1 from wc-duck/master

Compile-fixes for the visual studio c-compiler.