Fix problems with alignment and strict aliasing
Fix type name
Fix more type names