New build system switched on optimization... atomic are now more complicated.

Remove std::memory_order flags for now. It will be carefully specified in future.