SPARK-1441: Compile Spark Core error with Hadoop 0.23.x