Merge "Move cpp-define related static_assert to runtime."