restored the re2 code and removed extra arguments for stubs.cpp

- restored the original re2 code from google
- compile stubs.cpp with the same warnings/errors arguments as re2
Merge pull request #5 from janestreet/simplify-re2-build

restored the re2 code and removed extra arguments for stubs.cpp