burp: /usr/local replaced by HOMEBREW_PREFIX

modified the patches as suggested