Add Android support for atomics