Fix hadoop 0.23.9 compatibility