Basic support for structs in IR and IR-based cross-compiler.