Add gtest to host build
Disable elf hack on OS X