Apparently some (broken?) Windows SDK versions define IDXGIOutput5 but not DPI_AWARENESS_CONTEXT. So we need to explicitly check for its existence.
It's a Windows 10 only function, and its presence alone prevents the binary from loading on older Windows versions.