Fix for winxp, msvc 2005 build.