[FIX] fixed Windows atomic primitives