Add Mingw support, as _ReadWriteBarrier is a MSVC intrinsic.