TJ: build dependencies.