Fixes to json-c build
Ensure libs are lion compatible
Use Postgres 9.3 final