Unified all libraries into one static library.

This makes the file system simpler and allows static linking, without implicit
linking against additional dependency libraries.