android: when building dependencies, check if they are building build deps

And if so, build them against the host system
2 jobs for master
Status Job ID Name Coverage
  Build
manual #3439
docker allowed to fail manual
kdeorg/appimage-base
manual #3440
docker allowed to fail manual
kdeorg/staticweb