Revert "More ncurses fixes for brew"

This reverts commit 5817b07ee35051339f96845a328697a7441d2daf.
Revert "Ncurses fixes for brew"

This reverts commit ca0a1e4d9dd757b915793f85f17c533f87523449.
Revert "Do not perform AC_FUNC_MALLOC on OSX"

This reverts commit e7b6d068a0ba1d0e8ee0ab40bad8496c7af7f300.
Revert "Set package status to brew for osx"

This reverts commit 8ae6f52f1012bc93b22c50f74aefaa24fb00f15b.