Fix for Hadoop 1.0.x support