Fixed malloc.h inclusion on Mac OS X