build: Auto-detect whether -DBOOST_TEST_DYN_LINK is needed
build: Auto-detect whether -DBOOST_TEST_DYN_LINK is needed

Use AC_LINK_IFELSE to auto-detect whether boost test is linked
dynamically, instead of assuming based on target.

domob1812/crowncoin,syscoin/syscoin,Infernoman/crowncoin,Crowndev/crowncoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,syscoin/syscoin,syscoin/syscoin,domob1812/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,domob1812/crowncoin,Infernoman/crowncoin,syscoin/syscoin,Infernoman/crowncoin,syscoin/syscoin,syscoin/syscoin,Infernoman/crowncoin,Infernoman/crowncoin,domob1812/crowncoin,Crowndev/crowncoin,Crowndev/crowncoin,domob1812/crowncoin,syscoin/syscoin,Crowndev/crowncoin