I think I can keep this part unchanged from the original formula.  The environmental appends down below seem to resolve the compilation issues to non `/usr/local`.