jansson: fix compilation bug, shared library for win