Fix building of unsolvable depenencies