Fix No module named winreg error

@marscher, how did you fix the error you had on appveyor?