Build: Add the ability to remove global exposure.

Ref #14016
Build: add build option for setting the AMD name.

Fixes #14016.