build all libs to a specyfic directory