Fix engine compilation errors after previous commit.