Add MKFIRMWARE macro for cmake