Update osx contrib to work with homebrew