Updated build dependencies so that build order is correct.