Fix compilation with older versions of valac