Atomic updates. Settle for gcc 4.7 __atomic built-ins.