make a mate/mlib config