Fixing broken hadoop1 support.