Travis-ci changes to support java 8 libs