Added missing pragma for _InterlockedCompareExchange