HBASE-12637 Compilation with Hadoop-2.4- is broken