Added atomic operations for int type on windows