Fixed bugs related to not using C11 atomics