Fix strict-aliasing warnings.