Wrap atomic into if/else to keep ROOT build happy