qt and tests should probably be replaced by a --with-frontends=bitcoind,bitcoin-qt,test_bitcoin so it's cleanly extensible
Even if we only support building one at a time right now, doing this now will make things nicer in the future when all can be built together.