Fix error on my machine

`undefined symbol: __sync_add_and_fetch_4 `