c_types: simplify + add ARM support