Fixed struct marshalling and struct generation in IDL compiler.