Ship all *nonshared*.a static libs.

Particularly, this fixes linking with pthreads.