[kodi-pvr-mediaportal-tvserver] Improve compatibility with new CMake macro