[COMMON] Fix firmware download relevant compile error