fix homing and firmware building