build: fix make test with distributed src