KIJIREPO-64. Fix compilation issues with Java 1.6

issue: https://jira.kiji.org/browse/KIJIREPO-64
review: https://review.kiji.org/r/1993