[PORTAL COMPILATION] LPS-33963

This commit fix compilation errors during an ANT all. Jenkins' builds are affected too