[COOK-3748] Add support for Amazon Linux & OS X

Switches to checking platform_family and adds support for Amazon Linux & Mac OS X when using homebrew as the default package provider.