fix strict aliasing warnings CXX-49