fix up build dependencies