perf: build in a copy of the source dir instead of relying on make clean