Fix strict aliasing violations.