Moving build files to the build directory (part 1/2).

This commit only contains file moves, which breaks the build.
The next commit will fix the build.
Having two commits helps keeping the history for moved files.
Moving build files to the build directory (part 2/2).

The previous commit only contained file moves, which broke the build.
This commit fixes the build.
Having two commits helps keeping the history for moved files.