add auto values support for structs
restore RPython compatibility