collectd: fix linker errors