use explicit init instead of assignment with atomics in a few places for gcc compat