Moved win32 import inside specific method, so that
module can be imported on non Windows OS's.