jansson: fix compilation bug for windows