fix native fastSet on windows