Patch to compile on Mac with brew