fix up wscript/build issues in exportvis after merge with master