Revert "Use Linux Atomic / thanks to emwo"

This reverts commit 3cae7027fec702cd8019e623efce887b8c88c5c0.