Quick fix for the jdk8 ea build stuff .

Proposed solution to #30 . Checked on my Ubuntu machine against 1.7.0_13-b20 , 1.8.0-ea-b75, and 1.8.0-ea-b72 . There may be a neater way to do this, of course.