fix boost_regex icu detection on linux when statically linking