Fixed compilation problem with hadoop1