fix compilation errors in application master
make hadoop build