Added a simple test flag for brew formula.
Updated CMakeLists with an install target for brew.