homebrew: fix maverick include bug

This change fixes #20431

Are my comments ok? (I am not a native english speaker)

cmake compiles and so should all the other formulas which rely on zlib, curl, etc.