Fix msvc 2005 build.