Fix GMock/GTest and gcc
Fix GMock/GTest and gcc

Adapted from
http://stackoverflow.com/questions/13513905/how-to-setup-googletest-as-a
-shared-library-on-linux but you have to do the same for GoogleMock

acgetchell/CDT-plusplus,acgetchell/CDT-plusplus,acgetchell/CDT-plusplus