Fixes #1519
Adjustment are required due to changes of the new run tool and the new shared library implementation. Issue #1192
Related to #1372.
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