Support building bitcoind and bitcoin-qt using autotools