fixing some warnings in utils.
updating find-scripts to find system json lib.
fixing linker problem by reordering library order for the params example.
(not sure if that's a very stable fix.)