Fix jansson and casablanca build issues