diff --git a/example/Jamfile.v2 b/example/Jamfile.v2
index baaadad4..6ccef7b6 100644
--- a/example/Jamfile.v2
+++ b/example/Jamfile.v2
@@ -42,7 +42,7 @@ path-constant HERE : . ;
test-suite regex-examples :
-[ regex-test-run timer/regex_timer.cpp : $(HERE)/timer/input_script.txt ]
+[ regex-test-run timer/regex_timer.cpp /boost/smart_ptr//boost_smart_ptr : $(HERE)/timer/input_script.txt ]
[ regex-test-run grep/grep.cpp /boost/program_options//boost_program_options/static : -n -b $(HERE)/../include/boost/regex.hpp : test_grep ]
[ regex-test-run snippets/credit_card_example.cpp ]
[ regex-test-run snippets/mfc_example.cpp ]
diff --git a/test/Jamfile.v2 b/test/Jamfile.v2
index a9975d26..7baf5f69 100644
--- a/test/Jamfile.v2
+++ b/test/Jamfile.v2
@@ -102,13 +102,13 @@ run object_cache/object_cache_test.cpp ;
run config_info/regex_config_info.cpp ../build//boost_regex/static : : : always_show_run_output ;
run config_info/regex_config_info.cpp ../build//boost_regex : : : always_show_run_output : regex_dll_config_info ;
run collate_info/collate_info.cpp ../build//boost_regex : : : always_show_run_output : test_collate_info ;
-link concepts/concept_check.cpp : gcc:-Wno-deprecated-copy ;
+link concepts/concept_check.cpp /boost/range//boost_range : gcc:-Wno-deprecated-copy ;
link concepts/concept_check.cpp : BOOST_REGEX_STANDALONE gcc:-Wno-deprecated-copy : standalone_concept_check ;
link concepts/icu_concept_check.cpp : BOOST_REGEX_STANDALONE gcc:-Wno-deprecated-copy ;
link concepts/icu_concept_check.cpp : gcc:-Wno-deprecated-copy : standalone_icu_concept_check ;
link concepts/range_concept_check.cpp : gcc:-Wno-deprecated-copy ;
run concepts/test_bug_11988.cpp ;
-run captures/captures_test.cpp ../build//icu_options : : : multi BOOST_REGEX_MATCH_EXTRA=1 BOOST_REGEX_NO_LIB=1 : captures_test ;
+run captures/captures_test.cpp ../build//icu_options /boost/array//boost_array : : : multi BOOST_REGEX_MATCH_EXTRA=1 BOOST_REGEX_NO_LIB=1 : captures_test ;
run regress/$(R_SOURCE) ./noeh_test//boost_regex_noeh ../build//icu_options : : : BOOST_NO_EXCEPTIONS=1 off static shared : regex_regress_noeh ;
compile test_consolidated.cpp ;