fix build on hdfs profile