Fix distribution dependencies.