Log Message: Build shared library. Fix soname passing. Fix format strings. Explicitly truncate pointers (XXX revisit by somewhere with more Haskellfu). Fix bit masking.