jq & thrift build on darwin

apologies for the combined PR. Anyone know how to separate them for future reference?