Debian declared the 'which' utility as deprecated. Fixes #4319
When building core from a source archive, we don't want to incorporate any source codes from BASE_DIR.
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082