fix depsdir on array of libs