Work around aliasing violation in frameworks/base.