change lib to MT & MTD