Fixed linker error with gtest.