add homebrew patch for osx