added homebrew support patch to contrib for osx builds