Fix msvc2005 build.