Setting source compatibility to java 8.