Fix linker error from gtest in debug mode building