Fix for downloading jar files in tool dependencies.
Merge in fix from stable.