[NIDebuggingTools] Untangle linkage specification from other macros.

Untangle linkage specification from other macros.