Change the way that we test the static library.

Before, we produced a statically linked executable. Then it turned out
that statically linking libpthread is problematic. Now, we produce a
dynamically linked executable, but linked against libre2.a explicitly.

We should also have been passing the `-std=c++11' flag.

Fixes #81.

Change-Id: Id4361de1435a1b587f3f87dd4ce386c39cef61d6
Reviewed-on: https://code-review.googlesource.com/4312
Reviewed-by: Paul Wankadia <junyer@google.com>
1 file changed