Issue #18520: fix reference leak in _PySys_Init()
Issue14255 Don't flatten case of tempdir
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
Issue #19373: merge from 3.3