Compatibility with libcec v2.1.4

This patch make kodi work without libraries not in Ubuntu standard library