build: Fix missing device variables for artifacts