Fix googletest build on other cmake build types

When compiling with gtest the library was not installed to a
subdirectory for the RelWithDebInfo or MinSizeRel build types.  This
makes those install to the same location as Release.
Merge pull request #102 from gcasey/buildfixes

Buildfixes for google test.