[kodi-pvr-njoy] Improve compatibility with new CMake macro