Make integration tests optional if needed.
Make java8 happy.