Allow Travis to use JDK8 in the build matrix