Fix recent syntax errors with older valac