strict-aliasing fix
Fix linaro strict aliasing errors