Add atomic ops for linux