Update publishconf.py to build images correctly.