Update build to work with Java 8

This addresses #466, making LensKit successfully build and test on Java 8.