Fixed makefile of gtest to solve the build break issue.