Added primitive config support for C structs