Fix strict aliasing problems so -fno-strict-aliasing is no longer needed