gtest patches for FreeBSD