Added handling for Mac brew package manager.