Fixed compilation under msvc-2008
Mingw build is broken on gcc-4.7.2