globals infrastructure is now built as separate static library.