minor fixes to wscript files to make things python3 compatible