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