[obs-studio] Improve compatibility with new CMake macro