Merge "Make libstatslog static-linkage compatible."