make stdc++11/atomic optional