Source tree: Moved third party code to vendor directory

Fixes gh-6871