fix error on windows when creating root_dirs

fix error on windows when creating root_dirs. On windows, user should be
Administrator.