Corrected issues when running on Windows with Python 3.3