Fixed compilation with the latest EAP.
(cherry picked from commit a1ca142)