Workaround for building gtest dependencies. am: 340fb0b494 am: 8bf74dd800

Change-Id: I6c8fbc1984e4c676d19cf91cb8c4d677adf44d14