Moved platform check in configure.ac
Set package status to brew for osx
Do not perform AC_FUNC_MALLOC on OSX