Use a non-default build dir when building add-source deps.

Fixes #1281.
Merge pull request #1312 from 23Skidoo/sandbox-dist-builddir

Use a non-default build dir when building add-source deps.