CXX-127 Work around C2487 error with MSVC

I don't really understand why this fixes the listed issue (and see SERVER-13158), but it does.