Fix pycurl 7.19.0.1 issue
Fix some py3k issues