include both the referenced build and the latest build in cache key

http://manage.dimagi.com/default.asp?87253