add tpl and libs