mdw/build: Keep track of the original source directory in `$toppath'.