Build dependencies.