cec: fix compilation on windows after interface changes