Fix errors related to boost_regex when building Casablanca on OS X.