Fix error due to _winreg import on linux