only check boost_regex under Linux