Don't build on Java 6 anymore

See #565 and #593