SCORE-185. Fix compiler warnings

issue: https://jira.kiji.org/browse/SCORE-185
review: https://review.kiji.org/r/2053