install libatomic_ops conditionally