Avoid assertion when building path based sub packages (or packages with path based dependencies).
Add a --temp-build switch to force building in the TEMP folder. Fixes #294.