fix bmc build