Fix source and target Java version to 1.8.