Explicitly link with libatomic when needed.