Revert "libi mac"

This reverts commit 160328be1af99eac7004e8a241a41fdeb45eff66.