Use boost::regex instead of std::regex

gcc 4.8.x doesn't support std::regex