fix for valac 0.18.1 bugging on ternary operators in struct initialization