Fixed a bug in building AZcdiChip