[EOSIO/eos] MacOS compilation error (#5302)

Might be best to just use virtual box and Centos 7 if you can’t get it to work on your Mac