Tidy up versions of dependencies in installation templates.