variable: Set LINUX variable on Linux target systems

Fixes: #23840
5 files changed