msvc2 compilable on debian

Hey there,

I just made minor changes to not break the compilation on other systems:
Also, I successfully compiled this version on a debian7 x86 with gcc v4.7.2 without any problems.