fix std::regex problem on Linux