Change jansson version to 2.7
Fix warning and linking error on osx.