Build and runtime-link bitcoin-api jsoncpp as static libs.

Static linking added for bitcoin-api and jsoncpp.