Use weak linkage for global values in modules to avoid multiply-defined symbol error reported by linker.