more windows atomic pointer fixes