Compiler fix for unit-like structs