std::mutex in the current build environment is not supported by Windows XP, I guess because Ninja uses v140 platform toolset.
Next commit fixes the build.