Use proper import path and keyed fields.

To make «go vet» happy. Refs #1.
Copy shared library everywhere to fix linking.

See https://code.google.com/p/go/issues/detail?id=5428

Refs #1.