Replacement for td-agent build script