Updated dependencies to work with Java 8