Changed Java target to 1.7