Build and distribute libgtest.a

This will make it easier for downstream projects to write
unit/integration tests.