[FIX] fixed atomic primitives under Windows