COOK-4016 improve compatibility with Apache on OS X deployed via Homebrew