1) forward `+shared` to re2 2) add `cxxstd` variant 3) use "more idiomatic" way of setting CMake options