Fix urlparse py2/3 compatiblity in build.py and config.py
Fix all py3 syntax errors; All tests passing