Changing build configurations to JDK 1.8