Allow build without declarative dependency, build all only on desktop