examples: make Linux environment check consistent