Adding compiler target version for java