Fix strict aliasing warnings