Add dry-run option to build.py.