Adding support for td-agent 2.x for both precise and trusty