Suggest fix for #590 (python/python syntax error on Windows).

I would choose this fix for the issue referenced. It should be tested more thoroughly, but seems to work for me on Linux and Windows(7).