work on build.py to make it useful for dobmake