Make build work with java 8.

cc @quidryan @allenxwang 

p.s. is it ok to update deps? most are out of date and some are *really* out of date (ex. guava)