Fixed compilation problem with Java<7