config tests: fix build dir error