chore(build): fix compile issue in cockpit