Modify the Makefile so that gtest is successfully rebuilt on Ubuntu, but preserve functionality on systems which just link against a prebuilt gtest (e.g. Fedora). Tested on Ubuntu 14.04 and Fedora 20.
Merge pull request #1 from jkroll/gtest-build-issue

Modify the Makefile so that gtest is successfully rebuilt on Ubuntu