Fixed the build configuration for 'Diagnostic' module.