Porting to the current API of C::E.
Should fix compilation issues if using the most recent C::E library.