SERVER-8510 Fix compile on windows