[Build] Changed source compatibility from 1.6 to 1.7