eal: fix C++ compilation after headers rework