Fixed regex support on linux by using boost_regex