Update dependencies for Ubuntu 12.04.

Change-Id: I57ab8a6d7890ab869e0316888c547a87520bf8ea