Add "shared" option (on by default), which can be used to control library type.

If shared is OFF, it will output a static library. If static, it assumes a statically built Boost and msgpack-c dependency.