Drop Java 8 dependency for Optional and Stream

Suggested fix for issue #38