Revert "use libgtest_main"

This reverts commit ad040ddb3ae9821e0caf26e9543bb1839846d66c.