[JENKINS-17247] Not sure why the compilation is failing but this seems to work

(cherry picked from commit 0ee7a5eec1e6ed167b6f96b2a73a5dd1976f5679)