Use atomicOp instead of InterlockedIncrement to fix Win64 linker errors.