fix makefiles so 3 libraries can find gtest code