Include build state and correct JDK for Travis.