Fixed generated code for c style struct initialization