compile at lower version GCC: does not have atomic_load/atomic_store
bugfix