Fixing issues with apt installation of td-agent