#2120 - fix require win32/registry