Move the global to the place it is needed.

Follow-up 8be2e118

Change-Id: Ic72a8f24fdcbafcb689370c845dcf6df4f864493
Merge "Move the global to the place it is needed."