Link the shared library tests to the shared library, correctly. Fixes issue 18. R=rsc CC=re2-dev http://codereview.appspot.com/992042