thrift builds on darwin
jq builds on darwin
Merge pull request #4443 from flazz/master

jq & thrift build on darwin