Fix build error in postcommit