Fix for access violations in the WIN32 BOINC build. No tests run; changes only affect WIN32 platform.