Fix up build dependencies.