Use brew --prefix instead of absolute paths