Fixed mutex build on windows