fixed makefile to build on architectures without gtest installed