Apple gcc specific fixes

Upgrading requirements for current versions of automake