Bug fix in Win32 mg_mkdir