Cache installed versions between builds.