fix `make dist`
support JSONP in externals

COUCHDB-1313