Fixes build breakage because we cannot target 1.8 without running at least JDK 8