add patch files for compilation with homebrew
Merge pull request #21 from linki/homebrew_contrib

add patch files for compilation with homebrew