Fix travis jdk 8