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

@Vasiliy-Bondarenko , my last comment complemented @NorseGaud «build/install» comment.