Fix compilation issue due to CDH3u5 upgrade

In CDH3u5, there is an interface change for the method hdfsDelete() inside hdfs.h. It takes an extra argument called recursive, which is applicable for directory only.