build dependencies