Merge pull request #1866, clarify license for codes referencing thirdparty repositories.