Fix postcommit compile error for hadoop stack name of ambari