compilation: make jansson be static library