server/upload.py: fix setting vars in the configure script.