[RJA-XXX][fix]: do not always build distributions.
Build only if special profile is activated.
Merge pull request #797 from ddurnev/agents

[RJA-XXX][fix]: do not always build distributions.