fixup atomics for gcc