add a check if cellar is writable for osx homebrew