configure: If HAVE_BOOST_REGEX, link to $BOOST_REGEX_LIB.