build: fix dynamic boost check when --with-boost= is used (cherry picked from commit a7d1f035ae2b33d5242d9aee5da1b538a0f5adba)
build: fix dynamic boost check when --with-boost= is used
(cherry picked from commit a7d1f035ae2b33d5242d9aee5da1b538a0f5adba)

48thct2jtnf/P,npccoin/npccoin,blood2/bloodcoin-0.9,putinclassic/putic,xuyangcn/opalcoin,diggcoin/diggcoin,ionomy/ion,mycointest/owncoin,Vsync-project/Vsync,lakepay/lake,ArgonToken/ArgonToken,pelorusjack/BlockDX,bmp02050/ReddcoinUpdates,ionomy/ion,puticcoin/putic,ediston/energi,pinkevich/dash,cerebrus29301/crowncoin,antcheck/antcoin,inkvisit/sarmacoins,npccoin/npccoin,cryptodev35/icash,ivansib/sib16,world-bank/unpay-core,dev1972/Satellitecoin,schinzelh/dash,jmgilbert2/energi,worldbit/worldbit,npccoin/npccoin,pelorusjack/BlockDX,diggcoin/diggcoin,bmp02050/ReddcoinUpdates,PandaPayProject/PandaPay,lakepay/lake,axelxod/braincoin,putinclassic/putic,CoinProjects/AmsterdamCoin-v4,diggcoin/diggcoin,axelxod/braincoin,ArgonToken/ArgonToken,Mrs-X/PIVX,DMDcoin/Diamond,alejandromgk/Lunar,crowning2/dash,ivansib/sib16,HeliumGas/helium,rdqw/sscoin,ediston/energi,cerebrus29301/crowncoin,ColossusCoinXT/ColossusCoinXT,ahmedbodi/test2,willwray/dash,schinzelh/dash,Darknet-Crypto/Darknet,pelorusjack/BlockDX,npccoin/npccoin,Bloom-Project/Bloom,pelorusjack/BlockDX,basicincome/unpcoin-core,grumpydevelop/singularity,ivansib/sibcoin,Mrs-X/PIVX,PIVX-Project/PIVX,presstab/PIVX,dashpay/dash,crowning2/dash,CoinProjects/AmsterdamCoin-v4,crowning-/dash,midnight-miner/LasVegasCoin,knolza/gamblr,Mrs-X/PIVX,Vsync-project/Vsync,LIMXTEC/DMDv3,cryptodev35/icash,midnight-miner/LasVegasCoin,pinkevich/dash,PandaPayProject/PandaPay,inkvisit/sarmacoins,ColossusCoinXT/ColossusCoinXT,LIMXTEC/DMDv3,alejandromgk/Lunar,cerebrus29301/crowncoin,Mrs-X/Darknet,alejandromgk/Lunar,RyanLucchese/energi,ticclassic/ic,presstab/PIVX,dev1972/Satellitecoin,willwray/dash,putinclassic/putic,ahmedbodi/test2,ColossusCoinXT/ColossusCoinXT,jmgilbert2/energi,nightlydash/darkcoin,mycointest/owncoin,slingcoin/sling-market,jmgilbert2/energi,ahmedbodi/test2,lakepay/lake,rsdevgun16e/energi,BlockchainTechLLC/3dcoin,alejandromgk/Lunar,dmrtsvetkov/flowercoin,cerebrus29301/crowncoin,crowning-/dash,nmarley/dash,mastercoin-MSC/mastercore,ivansib/sibcoin,48thct2jtnf/P,benzmuircroft/REWIRE.io,npccoin/npccoin,grumpydevelop/singularity,nightlydash/darkcoin,joroob/reddcoin,biblepay/biblepay,bmp02050/ReddcoinUpdates,reddcoin-project/reddcoin,pinkevich/dash,ionomy/ion,Bloom-Project/Bloom,projectinterzone/ITZ,terracoin/terracoin,dmrtsvetkov/flowercoin,willwray/dash,axelxod/braincoin,knolza/gamblr,presstab/PIVX,BlockchainTechLLC/3dcoin,xuyangcn/opalcoin,inkvisit/sarmacoins,DMDcoin/Diamond,Vsync-project/Vsync,blood2/bloodcoin-0.9,reddcoin-project/reddcoin,rsdevgun16e/energi,Bloom-Project/Bloom,basicincome/unpcoin-core,antcheck/antcoin,mobicoins/mobicoin-core,slingcoin/sling-market,CoinProjects/AmsterdamCoin-v4,worldbit/worldbit,diggcoin/diggcoin,mastercoin-MSC/mastercore,xuyangcn/opalcoin,ediston/energi,terracoin/terracoin,LIMXTEC/DMDv3,nmarley/dash,crowning2/dash,Mrs-X/Darknet,world-bank/unpay-core,BlockchainTechLLC/3dcoin,terracoin/terracoin,benzmuircroft/REWIRE.io,joroob/reddcoin,schinzelh/dash,ivansib/sib16,dev1972/Satellitecoin,freelion93/mtucicoin,RyanLucchese/energi,slingcoin/sling-market,reddcoin-project/reddcoin,Darknet-Crypto/Darknet,reddink/reddcoin,inkvisit/sarmacoins,HeliumGas/helium,ivansib/sibcoin,Bloom-Project/Bloom,HeliumGas/helium,RyanLucchese/energi,rsdevgun16e/energi,ivansib/sib16,joroob/reddcoin,CoinProjects/AmsterdamCoin-v4,PandaPayProject/PandaPay,grumpydevelop/singularity,RyanLucchese/energi,coinkeeper/2015-06-22_18-36_darkcoin,kbccoin/kbc,biblepay/biblepay,biblepay/biblepay,thelazier/dash,pelorusjack/BlockDX,ahmedbodi/test2,Vsync-project/Vsync,projectinterzone/ITZ,Mrs-X/Darknet,PandaPayProject/PandaPay,Petr-Economissa/gvidon,joroob/reddcoin,biblepay/biblepay,HeliumGas/helium,Petr-Economissa/gvidon,world-bank/unpay-core,PIVX-Project/PIVX,midnight-miner/LasVegasCoin,pelorusjack/BlockDX,alejandromgk/Lunar,ivansib/sibcoin,keesdewit82/LasVegasCoin,basicincome/unpcoin-core,terracoin/terracoin,diggcoin/diggcoin,aspirecoin/aspire,thelazier/dash,knolza/gamblr,ediston/energi,midnight-miner/LasVegasCoin,benzmuircroft/REWIRE.io,nightlydash/darkcoin,coinkeeper/2015-06-22_18-36_darkcoin,worldbit/worldbit,ahmedbodi/test2,ArgonToken/ArgonToken,mobicoins/mobicoin-core,keesdewit82/LasVegasCoin,reddink/reddcoin,nmarley/dash,schinzelh/dash,antcheck/antcoin,Darknet-Crypto/Darknet,ionomy/ion,thelazier/dash,inkvisit/sarmacoins,ticclassic/ic,Petr-Economissa/gvidon,lakepay/lake,dashpay/dash,PIVX-Project/PIVX,bmp02050/ReddcoinUpdates,PIVX-Project/PIVX,mastercoin-MSC/mastercore,ediston/energi,diggcoin/diggcoin,rsdevgun16e/energi,rdqw/sscoin,dashpay/dash,ionomy/ion,npccoin/npccoin,axelxod/braincoin,thelazier/dash,reddink/reddcoin,midnight-miner/LasVegasCoin,UdjinM6/dash,LIMXTEC/DMDv3,cerebrus29301/crowncoin,LIMXTEC/DMDv3,HeliumGas/helium,projectinterzone/ITZ,willwray/dash,putinclassic/putic,jmgilbert2/energi,rsdevgun16e/energi,presstab/PIVX,xuyangcn/opalcoin,cryptodev35/icash,puticcoin/putic,crowning-/dash,knolza/gamblr,reddink/reddcoin,ticclassic/ic,aspirecoin/aspire,thelazier/dash,jmgilbert2/energi,grumpydevelop/singularity,worldbit/worldbit,basicincome/unpcoin-core,axelxod/braincoin,mycointest/owncoin,ivansib/sibcoin,mobicoins/mobicoin-core,dev1972/Satellitecoin,BlockchainTechLLC/3dcoin,terracoin/terracoin,dmrtsvetkov/flowercoin,mastercoin-MSC/mastercore,ticclassic/ic,pinkevich/dash,freelion93/mtucicoin,puticcoin/putic,mycointest/owncoin,kbccoin/kbc,basicincome/unpcoin-core,DMDcoin/Diamond,antcheck/antcoin,rdqw/sscoin,schinzelh/dash,terracoin/terracoin,DMDcoin/Diamond,LIMXTEC/DMDv3,projectinterzone/ITZ,PandaPayProject/PandaPay,projectinterzone/ITZ,rdqw/sscoin,ivansib/sibcoin,aspirecoin/aspire,jmgilbert2/energi,Petr-Economissa/gvidon,benzmuircroft/REWIRE.io,mobicoins/mobicoin-core,Darknet-Crypto/Darknet,dev1972/Satellitecoin,crowning-/dash,mycointest/owncoin,blood2/bloodcoin-0.9,nmarley/dash,BlockchainTechLLC/3dcoin,knolza/gamblr,pinkevich/dash,PIVX-Project/PIVX,Mrs-X/PIVX,presstab/PIVX,rdqw/sscoin,puticcoin/putic,dashpay/dash,biblepay/biblepay,keesdewit82/LasVegasCoin,aspirecoin/aspire,slingcoin/sling-market,ticclassic/ic,dmrtsvetkov/flowercoin,Mrs-X/PIVX,presstab/PIVX,BlockchainTechLLC/3dcoin,xuyangcn/opalcoin,xuyangcn/opalcoin,48thct2jtnf/P,alejandromgk/Lunar,coinkeeper/2015-06-22_18-36_darkcoin,Bloom-Project/Bloom,biblepay/biblepay,knolza/gamblr,ticclassic/ic,aspirecoin/aspire,joroob/reddcoin,Mrs-X/Darknet,ivansib/sib16,coinkeeper/2015-06-22_18-36_darkcoin,putinclassic/putic,Mrs-X/Darknet,biblepay/biblepay,ionomy/ion,coinkeeper/2015-06-22_18-36_darkcoin,mastercoin-MSC/mastercore,inkvisit/sarmacoins,slingcoin/sling-market,Darknet-Crypto/Darknet,mobicoins/mobicoin-core,bmp02050/ReddcoinUpdates,ColossusCoinXT/ColossusCoinXT,RyanLucchese/energi,freelion93/mtucicoin,ArgonToken/ArgonToken,ArgonToken/ArgonToken,keesdewit82/LasVegasCoin,freelion93/mtucicoin,midnight-miner/LasVegasCoin,freelion93/mtucicoin,nmarley/dash,blood2/bloodcoin-0.9,48thct2jtnf/P,Petr-Economissa/gvidon,ediston/energi,cryptodev35/icash,dashpay/dash,ColossusCoinXT/ColossusCoinXT,nightlydash/darkcoin,UdjinM6/dash,crowning-/dash,48thct2jtnf/P,ArgonToken/ArgonToken,Mrs-X/PIVX,CoinProjects/AmsterdamCoin-v4,grumpydevelop/singularity,puticcoin/putic,RyanLucchese/energi,ahmedbodi/test2,reddink/reddcoin,keesdewit82/LasVegasCoin,willwray/dash,worldbit/worldbit,nmarley/dash,puticcoin/putic,benzmuircroft/REWIRE.io,cryptodev35/icash,UdjinM6/dash,biblepay/biblepay,reddcoin-project/reddcoin,UdjinM6/dash,DMDcoin/Diamond,48thct2jtnf/P,rdqw/sscoin,crowning2/dash,Bloom-Project/Bloom,mycointest/owncoin,aspirecoin/aspire,PIVX-Project/PIVX,kbccoin/kbc,Vsync-project/Vsync,kbccoin/kbc,world-bank/unpay-core,slingcoin/sling-market,kbccoin/kbc,antcheck/antcoin,nightlydash/darkcoin,dmrtsvetkov/flowercoin,PIVX-Project/PIVX,PandaPayProject/PandaPay,willwray/dash,schinzelh/dash,benzmuircroft/REWIRE.io,lakepay/lake,keesdewit82/LasVegasCoin,crowning2/dash,lakepay/lake,CoinProjects/AmsterdamCoin-v4,cerebrus29301/crowncoin,Darknet-Crypto/Darknet,crowning-/dash,PIVX-Project/PIVX,grumpydevelop/singularity,ivansib/sib16,dmrtsvetkov/flowercoin,worldbit/worldbit,Mrs-X/Darknet,PIVX-Project/PIVX,putinclassic/putic,HeliumGas/helium,Vsync-project/Vsync,reddcoin-project/reddcoin,UdjinM6/dash,dev1972/Satellitecoin,nmarley/dash,axelxod/braincoin,ColossusCoinXT/ColossusCoinXT,Petr-Economissa/gvidon,DMDcoin/Diamond,pinkevich/dash,antcheck/antcoin,rsdevgun16e/energi,world-bank/unpay-core,reddcoin-project/reddcoin,freelion93/mtucicoin,blood2/bloodcoin-0.9