SERVER-13390: test.exe crash (core) on windows 64 2k8

(cherry picked from commit 39143d55a37ea77b37433b8951a259c30c10cfc9)