collectd-tg: Move _POSIX_C_SOURCE and friends to the Makefile.