devpanel: fix build issue in non-pack mode