Compile-fixes for the visual studio c-compiler.