Don't use thin archives when building static

Change-Id: I4cbde310cbdb0f24e3397e970a4aea9c8572f6c7