merge libs