Used IF compiler directives to leave existing code in place, adding new code for the latest version of YoutubeDLSharp which supports the latest version of yt-dlp
Configured the package selection to be based on the build config so it should still be possible to build the previous version.