Update `build_demokit.py` to work with the new repo layout.