Fix collectd4/5 detection