Fix the Sitecore.Diagnostic build error