Migrate project to JDK 8