add patch files for compilation with homebrew

patch files based on litecoin repo. enables compilation when using homebrew